//canEdit: 显示可编辑
//noEdit: 显示不可编辑
//noDisplay: 不显示
//透明视频type暂定25
var permission = {
    WIDGETS: {//组件
        010: {//文字
            canEdit: "01001",
            noEdit: "01002",
            noDisplay: "01003",
            type: 10,
        },
        012: {//图形
            type: 12,
            canEdit: "01201",
            noEdit: "01202",
            noDisplay: "01203",
        },
        009: {//图片
            type: 9,
            canEdit: "00901",
            noEdit: "00902",
            noDisplay: "00903",
        },
        004: {//视频
            type: 4,
            canEdit: "00401",
            noEdit: "00402",
            noDisplay: "00403",
        },
        025: {//透明视频
            type: 25,
            canEdit: "02501",
            noEdit: "02502",
            noDisplay: "02503",
        },
        006: {//音乐
            type: 6,
            canEdit: "00601",
            noEdit: "00602",
            noDisplay: "00603",
        },
        005: {//3D模型
            type: 5,
            canEdit: "00501",
            noEdit: "00502",
            noDisplay: "00503",
        },
        000: {//打电话
            name: "call_me",
            type: 0,
            canEdit: "00001",
            noEdit: "00002",
            noDisplay: "00003",
        },
        002: {//位置导航
            type: 2,
            canEdit: "00201",
            noEdit: "00202",
            noDisplay: "00203",
        }, 
        008: {//APP下载
            type: 8,
            canEdit: "00801",
            noEdit: "00802",
            noDisplay: "00803",
        },
        001: {//WEB链接
            type: 1,
            canEdit: "00101",
            noEdit: "00102",
            noDisplay: "00103",
        }, 
        003: {//拓展介绍
            type: 3,
            canEdit: "00301",
            noEdit: "00302",
            noDisplay: "00303",
        }, 
        007: {//相册
            type: 7,
            canEdit: "00701",
            noEdit: "00702",
            noDisplay: "00703",
        },
        021: {//附近搜索
            type: 21,
            canEdit: "02101",
            noEdit: "02102",
            noDisplay: "02103",
        },
        024: {//分享组件
            type: 24,
            canEdit: "02401",
            noEdit: "02402",
            noDisplay: "02403",
        },
        016: {//AR红包游戏
            type: 16,
            canEdit: "01601",
            noEdit: "01602",
            noDisplay: "01603",
        },
        020: {//围观组件
            name: "lookersBtn",
            type: 20,
            canEdit: "02001",
            noEdit: "02002",
            noDisplay: "02003",
        },
        023: {//希望金币
            type: 23,
            canEdit: "02301",
            noEdit: "02302",
            noDisplay: "02303",
        },
        022: {//表单组件
            type: 22,
            canEdit: "02201",
            noEdit: "02202",
            noDisplay: "02203",
        },
        019: {//浮屏按键
            type: 19,
            canEdit: "01901",
            noEdit: "01902",
            noDisplay: "01903",
        }
    },
    WIDGET_EVENTS: {//交互事件
        000: {//打电话
            value: 0,
            canEdit: "00001",
            noEdit: "00002",
            noDisplay: "00003",
        },
        001: {//访问链接
            value: 1,
            canEdit: "00101",
            noEdit: "00102",
            noDisplay: "00103",
        }, 
        002: {//位置导航
            value: 2,
            canEdit: "00201",
            noEdit: "00202",
            noDisplay: "00203",
        }, 
        003: {//拓展介绍
            value: 3,
            canEdit: "00301",
            noEdit: "00302",
            noDisplay: "00303",
        },
        011: {//触发动效
            value: 11,
            canEdit: "01101",
            noEdit: "01102",
            noDisplay: "01103",
        },
        014: {//播放视频
            value: 14,
            canEdit: "01401",
            noEdit: "01402",
            noDisplay: "01403",
        },
        015: {//跳转页面
            value: 15,
            canEdit: "01501",
            noEdit: "01502",
            noDisplay: "01503",
        },
        017: {//更改模型贴图
            value: 17,
            canEdit: "01701",
            noEdit: "01702",
            noDisplay: "01703",
        },
        018: {//播放模型动作
            value: 18,
            canEdit: "01801",
            noEdit: "01802",
            noDisplay: "01803",
        }, 
        021: {//附近搜索
            value: 21,
            canEdit: "02101",
            noEdit: "02102",
            noDisplay: "02103",
        },
        022: {//提交表单内容
            value: 22,
            canEdit: "02201",
            noEdit: "02202",
            noDisplay: "02203",
        },
        024: {//分享
            value: 24,
            canEdit: "02401",
            noEdit: "02402",
            noDisplay: "02403",
        }
    },
    ANIMATION_TYPE: {//动效
        001: {//淡入
            an_type: 1,
            canEdit: "00101",
            noEdit: "00102",
            noDisplay: "00103",
        },
        002: {//擦除
            an_type: 2,
            canEdit: "00201",
            noEdit: "00202",
            noDisplay: "00203",
        },
        003: {//飞入
            an_type: 3,
            canEdit: "00301",
            noEdit: "00302",
            noDisplay: "00303",
        },
        004: {//切入
            an_type: 4,
            canEdit: "00401",
            noEdit: "00402",
            noDisplay: "00403",
        },
        005: {//透明度
            an_type: 5,
            canEdit: "00501",
            noEdit: "00502",
            noDisplay: "00503",
        },
        006: {//弹跳
            an_type: 6,
            canEdit: "00601",
            noEdit: "00602",
            noDisplay: "00603",
        },
        007: {//淡出
            an_type: 7,
            canEdit: "00701",
            noEdit: "00702",
            noDisplay: "00703",
        },
        008: {//缩放
            an_type: 8,
            canEdit: "00801",
            noEdit: "00802",
            noDisplay: "00803",
        },
        010: {//旋转
            an_type: 10,
            canEdit: "01001",
            noEdit: "01002",
            noDisplay: "01003",
        },
        011: {//翻转
            an_type: 11,
            canEdit: "01101",
            noEdit: "01102",
            noDisplay: "01103",
        },
        012: {//路径
            an_type: 12,
            canEdit: "01201",
            noEdit: "01202",
            noDisplay: "01203",
        },
        023: {//缩隐
            an_type: 23,
            canEdit: "02301",
            noEdit: "02302",
            noDisplay: "02303",
        },
        024: {//缩放移动
            an_type: 24,
            canEdit: "02401",
            noEdit: "02402",
            noDisplay: "02403",
        },
        025: {//飞入移动
            an_type: 25,
            canEdit: "02501",
            noEdit: "02502",
            noDisplay: "02503",
        },
        026: {//缩放旋转
            an_type: 26,
            canEdit: "02601",
            noEdit: "02602",
            noDisplay: "02603",
        },
        027: {//旋转飞入
            an_type: 27,
            canEdit: "02701",
            noEdit: "02702",
            noDisplay: "02703",
        },
        028: {//淡淡擦除
            an_type: 28,
            canEdit: "02801",
            noEdit: "02802",
            noDisplay: "02803",
        }
    }
}
module.exports = permission;
